package cn.com.ctcloud.saas.core.geetest.sdk;

import cn.com.ctcloud.saas.core.config.SystemConfig;

/**
 * Title: ChinaCT SaaS
 * <p>
 * Description: GeetestWeb配置文件
 * <p>
 * Copyright: Copyright (c) 2008
 * <p>
 * Company: Liaoning Open Data Communication Co.,Ltd.
 *
 * @author lihui
 * @version 7.0.0
 */
public class GeetestConfig {

	public static String getUserId() {
		return SystemConfig.getProperty("geetest.user.id");
	}

	public static String getClientType() {
		return SystemConfig.getProperty("geetest.client.type");
	}

	public static String getGeetestId() {
		return SystemConfig.getProperty("geetest.id");
	}

	public static String getGeetestKey() {
		return SystemConfig.getProperty("geetest.key");
	}

	public static boolean isNewfailback() {
		return "true".equalsIgnoreCase(SystemConfig.getProperty("geetest.newfailback"));
	}

}
